PROJECT(Kieper)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

SET(Boost_ADDITIONAL_VERSIONS, "1.37")

FIND_PACKAGE(Boost 1.37 COMPONENTS thread REQUIRED)
FIND_PACKAGE(ProtocolBuffers REQUIRED)

INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS} ${PROTOBUF_INCLUDE_DIR})

IF(CMAKE_COMPILER_IS_GNUCXX)
	ADD_DEFINITIONS("-Wall -O0 -D DEBUG -g")
	#ADD_DEFINITIONS("-Wall -ansi -pedantic -O3 -s")
ENDIF(CMAKE_COMPILER_IS_GNUCXX)

SUBDIRS(core example emu dev)
